<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>这里是主页</title>
</head>
<body>
<div th:fragment="footer">
    <a href="http://www.baidu.com">百度一下</a>
</div>


</body>
</html>